
import Evaluator from './evaluator.js';
import { parse } from './SyntaxParse.js';

let source = `
    a = {b: 2};
    a.b;
`

let tree = parse(source)
console.log(JSON.stringify(tree, null, '  '))

let evaluator = new Evaluator()
let result = evaluator.evaluate(tree)
console.log(result)
